package com.pxst.fx.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName SysFxOrderByIdResp
 * @Author ：hy
 * @Date ：2023-10-30 14:38:49
 * @Description：Fx100
 * @Version: 1.0
 */
@Data
public class SysFxOrderByIdResp {

    /**
     * sys_fx_order rate
     */
    @ApiModelProperty(value = "系统手续费")
    private BigDecimal rate;

    /**
     * sys_merchant_info code
     */
    @ApiModelProperty(value = "商户编码")
    private String shCode;

    /**
     * sys_fx_order paid_amount
     */
    @ApiModelProperty(value = "实际作用金额")
    private BigDecimal paidAmount;


    @ApiModelProperty(value = "添加显示")
    private Integer addDisplay;

    /**
     * sys_fx_order id
     */
    @ApiModelProperty(value = "下发Id")
    private Integer fxId;

    /**
     * sys_merchant_info Id
     */
    @ApiModelProperty(value = "商户信息表Id")
    private Integer shId;

    /**
     * sys_fx_order reference
     */
    @ApiModelProperty(value = "参考")
    private String reference;

    /**
     * sys_fx_order to_man
     */
    @ApiModelProperty(value = "接收人")
    private String toMan;

    /**
     * sys_fx_order to_bank
     */
    @ApiModelProperty(value = "接收银行")
    private String toBank;

    /**
     * sys_fx_order to_bank_branch
     */
    @ApiModelProperty(value = "接收银行分支")
    private String toBankBranch;

    /**
     * sys_fx_order to_card_number
     */
    @ApiModelProperty(value = "接收卡号")
    private String toCardNumber;

    /**
     * sys_fx_order request_amount
     */
    @ApiModelProperty(value = "用户发起金额")
    private Integer requestAmount;

    /**
     * sys_fx_order bank_fee
     */
    @ApiModelProperty(value = "银行手续费")
    private Integer bankFee;

    /**
     * sys_fx_order balance
     */
    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    /**
     * sys_fx_order pre_balance
     */
    @ApiModelProperty(value = "交易前余额")
    private BigDecimal preBalance;

    /**
     * sys_fx_order balance_xy
     */
    @ApiModelProperty(value = "讯银余额")
    private BigDecimal balanceXy;

    /**
     * sys_fx_order pre_balance_xy
     */
    @ApiModelProperty(value = "讯银交易前余额")
    private BigDecimal preBalanceXy;

    /**
     * sys_merchant_wallet balance
     */
    @ApiModelProperty(value = "商户钱包余额")
    private BigDecimal shBalance;

    /**
     * sys_fx_order completed_at
     */
    @ApiModelProperty(value = "完成时间")
    private Date completedAt;

    /**
     * sys_fx_order currency
     */
    @ApiModelProperty(value = "币别")
    private String currency;

    /**
     * sys_fx_order status
     */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
     * sys_fx_order action
     */
    @ApiModelProperty(value = "手动操作状态")
    private String action;

    /**
     * sys_fx_order tr_code
     */
    @ApiModelProperty(value = "交易代码")
    private String trCode;

    /**
     * sys_fx_order note
     */
    @ApiModelProperty(value = "备注")
    private String note;

    /**
     * sys_fx_order approve_type
     */
    @ApiModelProperty(value = "批准方式")
    private Integer approveType;

    /**
     * sys_fx_order approve_time
     */
    @ApiModelProperty(value = "批准时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date approveTime;

    /**
     * sys_fx_order approve_person
     */
    @ApiModelProperty(value = "批准人")
    private String approvePerson;

    /**
     * sys_fx_order created_man
     */
    @ApiModelProperty(value = "创建人")
    private String createdMan;

    /**
     * sys_fx_order updated_man
     */
    @ApiModelProperty(value = "更新人")
    private String updatedMan;

    /**
     * sys_fx_order created_at
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createdAt;

    /**
     * sys_fx_order updated_at
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updatedAt;

    /**
     * sys_fx_order local_created_at
     */
    @ApiModelProperty(value = "本地创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date localCreatedAt;

    /**
     * sys_fx_order local_updated_at
     */
    @ApiModelProperty(value = "本地更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date localUpdatedAt;


    @ApiModelProperty(value = "MN100 ID")
    private String mnId;

    /**
     * sys_fx_order S-时间-fxId
     */
    @ApiModelProperty(value = "拼接后的下发Id")
    private String altId;
}
